package cn.hill4j.tool.spring.std.iop.feign;

import cn.hill4j.tool.spring.ext.iop.dynamic.DymKeySelector;
import cn.hill4j.tool.spring.ext.iop.feign.IopFeignTarget;

public class DymFeignTestSelector implements DymKeySelector<Integer, IopFeignTarget> {
    @Override
    public IopFeignTarget select(Integer key) {
        return new IopFeignTarget("local"+key,String.format("localhost:%s",key),"iop");
    }
}
